<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="description" content="">
    <meta name="Keywords" content="">

    <title>{% block title %}{% endblock %}</title>
    <link rel="stylesheet" href="{% block css %}{% endblock %}">
</head>
<body>
    <div class="container">
        <section>
            <header class="header">
                <div class="header-cont">
                    <a class="logo" href="/"><img class="logo" src="https://astgram-images.oss-cn-qingdao.aliyuncs.com/xidian.png"></a>
                    <div class="web-menu">
                        {% if current_user.is_authenticated %}
                        <a class="profile-ico" href="/profile/{{current_user.id}}">{{current_user.username}}</a>
                        {% else %}
                        <a class="profile-ico" href="/regloginpage/">登陆/注册</a>
                        {% endif %}
                    </div>
                </div>
            </header>

            {% block content %}{% endblock %}

            <footer class="footer">
                <div class="footer-cont" style="max-width:935px;">
                    <nav>
                        <ul class="footer-items">
                            <li>
                                <a href="http://47.95.6.117/image/306">关于我们</a>
                            </li>
                            <li>
                                <a href="http://47.95.6.117/image/306">支持</a>
                            </li>
{#                            <li>#}
{#                                <a href="http://blog.nowcoder.com/">博客</a>#}
{#                            </li>#}
{#                            <li>#}
{#                                <a href="/press/">新闻中心</a>#}
{#                            </li>#}
{#                            <li>#}
{#                                <a href="/developer/">API</a>#}
{#                            </li>#}
{#                            <li>#}
{#                                <a href="/about/jobs/">工作信息</a>#}
{#                            </li>#}
{#                            <li>#}
{#                                <a href="/legal/privacy/">隐私</a>#}
{#                            </li>#}
{#                            <li>#}
{#                                <a href="/legal/terms/">条款</a>#}
{#                            </li>#}
                            <li>
                                <a href="/logout">注销</a>
                            </li>
                        </ul>
                    </nav>
                    <span class="copy-right">© 2019 XiDian University</span>
                </div>
            </footer>
        </section>
    </div>
</body>
{% block js %}{% endblock %}
</html>

